<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@taglib uri="/struts-tags"  prefix="s"%>
 <%@taglib uri="/struts-dojo-tags" prefix="sx"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户注册</title>
<link rel="stylesheet"href="/css/basic/register.css" type="text/css"/>
<link href="/css/basic/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="JavaScript" src="/js/basic/register.js"></script>
<SCRIPT src="/js/jquery/jquery-1.7.2.js" type=text/javascript></SCRIPT>
<SCRIPT src="/js/index/jQselect.js" type=text/javascript></SCRIPT>
<script src="/js/index/search.js" type="text/javascript"></script>
<SCRIPT type=text/javascript>
	$(document).ready(function() {
		$("#c").selectbox();
	});
</SCRIPT>
<sx:head/>
</head>
<body>
<div id="topNavWrapper">
		<s:url id="user_login" namespace="/forward/view" action="basic_top"></s:url>
		<sx:div href="%{user_login}" id="top_show"></sx:div>
</div>
<div id="topadd"><img src="" width="1000" height="50" alt="" /></div>
<div id="wrapper">
		<s:include value="head.jsp"></s:include>   		   
</div>
<div class="content">
			<div style="height: 50px"></div>
			<div class="form_div">
				<form action="/mapping/user/action_register.go" method="post" id="myform" onSubmit="return checkRegister()">
			     <dl class="register_row">
			        <dt>Email地址：</dt>
			        <dd><input id="email" name="user.userEmail" type="text" class="register_input" onFocus="emailFocus()" onBlur="emailBlur()"></dd>
			        <dd><div id="email_prompt"></div></dd>
			      </dl>
			      <dl class="register_row">
			         <dt>设置昵称：</dt>
			         <dd><input id="nickName" name="user.userName" type="text" class="register_input" onFocus="nickNameFocus()" onBlur="nickNameBlur()"></dd>
			        <dd><div id="nickName_prompt"></div></dd>
			      </dl>
			     <dl class="register_row">
			         <dt>设定密码：</dt>
			         <dd><input id="pwd" name="user.passWord" type="password" class="register_input" onFocus="pwdFocus()" onBlur="pwdBlur()"></dd>
			         <dd><div id="pwd_prompt"></div></dd>
			     </dl> 
			     <dl class="register_row"> 
			         <dt>再输入一次密码：</dt>
			         <dd><input id="repwd" type="password" class="register_input" onFocus="repwdFocus()" onBlur="repwdBlur()"></dd>
			        <dd><div id="repwd_prompt"></div></dd>
			     </dl>
			     <dl class="register_row">
			     	<dt>邮箱确认码：</dt>
			     	<dd><input type="text" class="check_input" id="check" name="check"> </dd>
			     	<dd><input id="validate"  type="button" value="获取确认码" onclick="send_check()"/></dd>
			     	<dd><div id="check_prompt"></div></dd>
			     </dl>
			      <div class="registerBtn">
			     		 <input id="registerBtn" type="image" src="/image/basic/register_btn_out.gif" 
			      			onMouseOver="btn_over()" onMouseOut="btn_out()">
			      </div>
			   </form>
			</div>
			<div class="mail_message">
				<h3>温馨提示</h3>
				<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
				<p>
					点击“获取确认码”系统将会自动发送一封电子邮件到您的邮箱，请收看您的邮箱获取验证码。
				</p>
				<br/>
				<p>
					如果邮箱里面不存在请收看您的垃圾邮箱，可能会发送到垃圾邮箱。
				</p>
			</div>
		   	<div class="clr"></div>
	</div>
	<div style="text-align: center;" >
			<h1>注意事项：</h1>
				<p>如果是您的是QQ邮箱第一次可能是发送到垃圾邮箱，下面提供有两种解决办法</p>
				<h4 style="margin-top: 20px;">解决办法一：</h4>
		   		<img alt="" src="/image/mail/huanyuan_1.png"><br>
		   		<h4 style="margin-top: 20px;">解决办法二：</h4>
		   		<img alt="" src="/image/mail/huanyuan_2.png">
		   			<div class="clr"></div>
	</div>
	<div id="footer">
				<s:include value="/page/foot.html"></s:include>
	</div>
</body>
</html>